#ifndef RANGEEDITITEM_H
#define RANGEEDITITEM_H

#include <QWidget>

namespace Ui {
class RangeEditItem;
}
struct Range{
    float lo;
    float hi;
};
class RangeEditItem : public QWidget
{
    Q_OBJECT

public:
    explicit RangeEditItem(const QString& name,QWidget *parent = 0);
    ~RangeEditItem();
    //void setRangeName(const QString &);
    void setHi(float h);
    void setLo(float l);
    float getHi();
    float getLo();
    Range getRange();
private:
    Ui::RangeEditItem *ui;
};

#endif // RANGEEDITITEM_H
